package net.lgy.service;

import net.lgy.controller.req.AccountLoginReq;
import net.lgy.controller.req.AccountRegisterReq;
import net.lgy.dto.AccountDTO;
import org.springframework.web.multipart.MultipartFile;

public interface AccountService {
    void register(AccountRegisterReq req);

    String uploadAvatar(MultipartFile file);

    AccountDTO login(AccountLoginReq req);

    AccountDTO queryDetail(Long id, String phone);

    AccountDTO findByPhone(String phone);

    int insertAiPanToken(String phone, String token);

    AccountDTO findByAccountNo(Long accountNo);
}
